package com.project.feign.client.impl;

import com.project.common.core.utils.exception.CustomException;
import com.project.common.core.utils.exception.RESP_CODE_ENUM;
import com.project.common.core.utils.exception.Result;
import com.project.feign.client.WeChatMiniClient;
import com.project.feign.client.impl.BaseClientImpl;
import org.springframework.stereotype.Component;

/**
 * 小程序服务调用客户端
 *
 * @Author: wyy
 * @Date: 2020-04-24 15:08
 */
@Component
public class WeChatMiniClientImpl extends BaseClientImpl implements WeChatMiniClient {

    /**
     * 生成无限制小程序码
     *
     * @param scene   场景值
     * @param pageUri 小程序页面路由地址
     * @param width   小程序码大小
     * @return
     */
    @Override
    public Result<String> getMiniQrCodeImg(String scene, String pageUri, int width) {
        throw new CustomException(RESP_CODE_ENUM.MICRO_SERVICE_ERROR);
    }
}
